﻿namespace MangaMinion.ViewModel
{
    using MangaMinion.Model;

    public class MangaViewModel : ViewModelBase
    {
        private Manga manga;

        public MangaViewModel(Manga manga)
        {
            this.manga = manga;
        }

        public string Title
        {
            get
            {
                return this.manga.Title;
            }
        }

        public string Author
        {
            get
            {
                return this.manga.Author;
            }
        }

        public int Volume
        {
            get
            {
                return this.manga.Volume;
            }
        }

        public int ChapterCount
        {
            get
            {
                return manga.ChapterCount;
            }
        }

        public int PageCount
        {
            get
            {
                return this.manga.PageCount;
            }
        }
    }
}
